<?php

namespace App\Http\Controllers\Index;


use Illuminate\Http\Request;
use App\Http\Controllers\Index\Base;
use App\Serves\GoodsSkuServe;

class GoodsSku extends Base
{
    //
    public function getGoodsSkuBySkuSpeciValueId(Request $request){
        $params = $request->all();
        $speci_value_ids = $params['speciValueIds'];
        $id = $params['id'];
        if(empty($speci_value_ids)) return [];
        $goods_skus = GoodsSkuServe::getGoodsSkuBySkuSpeciValueId($speci_value_ids,$id);
        return showMsg(200,'ok', $goods_skus);
    }





}
